Auto merge of #4372 - frankmcsherry:patch-1, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 7 Aug 2017 04:12:18 +0000 (04:12 +0000)
committerbors <bors@rust-lang.org>
Mon, 7 Aug 2017 04:12:18 +0000 (04:12 +0000)
commit37d12a5a8729d908268473fcabefe61c813ed639
treed68a59cd9a7e5002d0bba80546ebdc2c47951c2a
parent7ed2a8b77f4bcc05dec220ada6f4357ec953ddb5
parentb2c597a8a2df4f7d3b5c55ef3583b3c9a25f604d
Auto merge of #4372 - frankmcsherry:patch-1, r=alexcrichton

Modernize explanation of `build.rs`

After some recent head-banging, it was explained to me that `"build.rs"` is a special file name, and that Cargo will build such a file even if you do not expect it to, for example if `Cargo.toml` contains the commented out line

```
#build = "build.rs"
```

Some experimentation lead me to the described behavior, but if it misses any subtle details please feel free to correct. The old text is incorrect, though.